home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
m
/
maxonc++2.dms
/
maxonc++2.adf
/
MCPIncl.lha
/
stdarg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-07
|
345b
|
12 lines
#ifndef __INCLUDE_STDARG_H
#define __INCLUDE_STDARG_H
typedef unsigned int va_list;
#define va_start(AP,LASTARG) (AP)=(unsigned int)(&LASTARG)+sizeof(LASTARG)
#define va_arg(AP,TYPE) ((AP)+=sizeof(TYPE), \
sizeof(TYPE)>1 ? ((AP)=(AP)+1&(-2)):(AP), \
((TYPE*)AP)[-1])
#define va_end(AP)
#endif